<template>
  <div id="app">
    <keep-alive>
      <router-view></router-view>
    </keep-alive>
  </div>
</template>

<script>
export default {
  name: 'app',
  methods:{
    /* created(){
      var bi=window.sessionStorage.getItem("HB")
      console.log(bi)
      var b1=document.getElementById("app")
      if(bi=="dark"){
        b1.className="dark"
      }else {
        b1.className="shine"
      }
    }*/
  }
}
</script>

<style>
/* #app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
} */
html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
}

.shine{
  background-color: #ffffff;
}

.dark{
  background-color: #bebebe
}

#app {
  height: 100%;
  padding: 0;
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* text-align: center; */
  /* margin-bottom: 10px; */
}

#App {
  height: 100vh;
}
</style>
